return "SWAY" & RETURN & RETURN & "Rotates a sprite first one way then the other by a given angle per frame." & RETURN & RETURN & "PERMITTED MEMBER TYPES:" & RETURN & "bitmap, Flash, text, vector shape" & RETURN & RETURN & "PARAMETERS:" & RETURN & "* Number of degrees to rotate in each frame" & RETURN & "* Number of frames to move in each direction"
end
on getBehaviorTooltip me
return "Use with bitmap, Flash, text and vector shape members." & RETURN & RETURN & "Rotates a sprite first one way then the other by a given angle per frame."
return [#myAnglePerFrame: [#comment: "Angle to rotate in each frame", #format: #float, #range: [#min: 0, #max: 180], #default: 10], #myFrameCount: [#comment: "Number of frames to move in each direction", #format: #integer, #default: 10]]